package com.song.shiro.controller;

import com.song.shiro.result.ResultEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @GetMapping("/get")
    public ResultEntity get(){
        return ResultEntity.success("get");
    }

    @GetMapping("/add")
    public ResultEntity add(){
        return ResultEntity.success("add");
    }

    @GetMapping("/update")
    public ResultEntity update(){
        return ResultEntity.success("update");
    }
}
